package com.yunke.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 通知模板实体类
 * 
 * @author yunke
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yunke_notification_template")
@Schema(name = "YunkeNotificationTemplate", description = "通知模板实体")
public class YunkeNotificationTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "模板ID")
    private Long id;

    @Schema(description = "模板代码")
    private String templateCode;

    @Schema(description = "模板名称")
    private String templateName;

    @Schema(description = "通知类型（1系统通知 2点赞通知 3评论通知 4关注通知 5私信通知 6活动通知 7订单通知）")
    private Integer notificationType;

    @Schema(description = "标题模板")
    private String titleTemplate;

    @Schema(description = "内容模板")
    private String contentTemplate;

    @Schema(description = "通知图标")
    private String notifyIcon;

    @Schema(description = "优先级（1低 2中 3高）")
    private Integer priority;

    @Schema(description = "支持的通知渠道（1站内信 2短信 4邮件 8推送，可组合）")
    private Integer supportChannels;

    @Schema(description = "是否启用（0禁用 1启用）")
    private Integer isEnabled;

    @Schema(description = "模板参数说明（JSON格式）")
    private String parameterDesc;

    @Schema(description = "备注说明")
    private String remark;

    @Schema(description = "状态（0正常 1删除）")
    private Integer status;

    @Schema(description = "创建时间")
    private Long createTime;

    @Schema(description = "更新时间")
    private Long updateTime;
} 